package edu.guigu.appquickstart.base;

import android.os.Bundle;
import android.view.View;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

import edu.guigu.appquickstart.utils.LogUtils;

/**
 * @author yuanc
 * @Description: (用一句话描述)
 * @date 2025/7/30 9:50
 */
public class BaseActivity extends AppCompatActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        LogUtils.d("TAG", getClass().getSimpleName() + " onCreate: ");
    }

    @Override
    protected void onRestart() {
        super.onRestart();
        LogUtils.d("TAG", getClass().getSimpleName() + " onRestart: ");
    }

    @Override
    protected void onStart() {
        super.onStart();
        LogUtils.d("TAG", getClass().getSimpleName() + " onStart: ");
    }

    @Override
    protected void onResume() {
        super.onResume();
        LogUtils.d("TAG", getClass().getSimpleName() + " onResume: ");
    }

    @Override
    protected void onPause() {
        super.onPause();
        LogUtils.d("TAG", getClass().getSimpleName() + " onPause: ");
    }

    @Override
    protected void onStop() {
        super.onStop();
        LogUtils.d("TAG", getClass().getSimpleName() + " onStop: ");
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        LogUtils.d("TAG", getClass().getSimpleName() + " onDestroy: ");
    }
}
